package com.test.domain;

/***
 *
 * @Auther: MuYun
 * @Date: 2023/11/16 11:12
 * @Description：百度地图POI信息详情
 *
 */
public class PoiResultInfo {

    /**
     * poi名称
     */
    private String name;
    /**
     * poi经纬度坐标
     */
    private PoiLocation location;
    /**
     * poi地址信息
     */
    private String address;
    /**
     * 所属省份
     */
    private String province;
    /**
     * 所属城市
     */
    private String city;
    /**
     * 所属区县
     */
    private String area;
    /**
     * poi的唯一标识，可用于详情检索
     */
    private String uid;

    /**
     * 是否有详情页：1有，0没有
     */
    private String detail;

    /**
     * poi拓展信息
     */
    private Object detail_info;
    /**
     * 行政区划代码
     */
    //private int adcode;
    /**
     * poi电话信息
     */
    //private String telephone;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public PoiLocation getLocation() {
        return location;
    }

    public void setLocation(PoiLocation location) {
        this.location = location;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Object getDetail_info() {
        return detail_info;
    }

    public void setDetail_info(Object detail_info) {
        this.detail_info = detail_info;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("PoiResultInfo{");
        if (name != null) {
            sb.append("name:'").append(name).append('\'');
        }
        if (location != null) {
            sb.append(", location:").append(location);
        }
        if (address != null) {
            sb.append(", address:").append(address);
        }
        if (province != null) {
            sb.append(", province:").append(province);
        }
        if (city != null) {
            sb.append(", city:").append(city);
        }
        if (area != null) {
            sb.append(", area:").append(area);
        }
        if (uid != null) {
            sb.append(", uid:").append(uid);
        }
        if (detail != null) {
            sb.append(", detail:").append(detail);
        }
        if (detail_info != null) {
            sb.append(", detail_info:").append(detail_info);
        }
        sb.append('}');
        return sb.toString();
    }
}
